package com.wing.inventory.service;

import com.wing.inventory.entity.request.InventoryClassRequest;
import com.wing.inventory.entity.response.CurrentStockResponse;
import com.wing.inventory.entity.response.InventoryClassResponse;
import com.wing.inventory.entity.response.InventoryResponse;
import com.wing.inventory.entity.response.InventoryUnitResponse;
import com.wing.warehouse.entity.response.WarehouseQueryResponse;

import java.util.List;

/**
 * 存货管理
 */
public interface InventoryService {

    /**
     * 存货分类创建
     *
     * @return
     */
    String inventoryClassCreate(InventoryClassRequest inventoryClassRequest);

    /**
     * 存货分类查询
     *
     * @return
     */
    List<InventoryClassResponse> inventoryClassQuery();

    /**
     * 存货计量单位查询
     *
     * @param code 存货编码
     * @return
     */
    List<InventoryUnitResponse> inventoryUnitQuery(String code);

    /**
     * 存货查询
     *
     * @return
     */
    List<InventoryResponse> inventoryQuery();

    /**
     * 现存量查询
     *
     * @return
     */
    List<CurrentStockResponse> currentStockQuery();


}
